﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace SCMS.Model
{

    [MetadataType(typeof(TravelAuthorisationMetaData))]
    public partial class TravelAuthorization
    {
    }

    public class TravelAuthorisationMetaData
    {
        [Required]
        public object TravellerId { get; set; }
        [Required]
        public object Destination { get; set; }
        [Required]
        public object TravellType { get; set; }
        [Required]
        public object TravellerType { get; set; }
        [Required]
        public object TravellMeans { get; set; }
        [Required]
        public object TravelPurpose { get; set; }
        [Required]
        public object TravelStartDate { get; set; }
        [Required]
        public object TravelEndDate { get; set; }
        [Required]
        public object FromLocation { get; set; }
        [Required]
        public object ToLocation { get; set; }
        [Required]
        public object NoOfNights { get; set; }
        [Required]
        public object CurrencyId { get; set; }
    }

    [MetadataType(typeof(TravelExpenseMetaData))]
    public partial class TravelExpense
    {
    }

    public class TravelExpenseMetaData
    {
        [Required]
        public object ExpenseDescription { get; set; }
        [Required]
        public object TotalCost { get; set; }
        [Required]
        public object CurrencyId { get; set; }
        [Required]
        public object BudgetLineId { get; set; }
        [Required]
        public object AdvanceRequired { get; set; }

    }

    [MetadataType(typeof(TravelDateMetaData))]
    public partial class TravelDate
    {
    }

    public class TravelDateMetaData
    {
        [Required]
        public object TravalDate { get; set; }
        [Required]
        public object Destination { get; set; }
        [Required]
        public object NoOfNights { get; set; }
        [Required]
        public object DailyPDRate { get; set; }
        [Required]
        public object TotalAllowance { get; set; }
        [Required]
        public object AdvanceRequired { get; set; }
        [Required]
        public object CurrencyId { get; set; }
        [Required]
        public object BudgetLineId { get; set; }
    }
}
